package com.lizhi.yun.db.rsz.dao;


import com.lizhi.mybatis.interceptor.PageBounds;
import com.lizhi.yun.db.rsz.entity.RszGameTrainEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface RszGameTrainDao {

	public int insertRecord(RszGameTrainEntity record);//添加一条完整记录

	public int deleteById(@Param("lid") String lid);//通过Id(主键)删除一条记录

	public int updateByIdSelective(RszGameTrainEntity record);//按Id(主键)修改指定列的值

	public RszGameTrainEntity selectById(@Param("gmTrId") String gmTrId,@Param("hospitalId") String hospitalId,@Param("hospitalSystemId")  String hospitalSystemId);//通过Id(主键)查询一条记录

	public List<RszGameTrainEntity> selectByMap(Map<String, Object> paramMap, PageBounds pageBounds);//根据条件查询


}